tree-wide: Use GLib autocleanups for libarchive
authorColin Walters <walters@verbum.org>
Mon, 31 Jul 2017 17:28:16 +0000 (13:28 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 2 Aug 2017 16:55:38 +0000 (16:55 +0000)
commit40b41d2cc9cd541891f04f959beff59f19129d87
treeed256e13550925314fb137a36a79f6ee77cc32e8
parentded6417aee906fad25a80fe5db85ee43b0552426
tree-wide: Use GLib autocleanups for libarchive

Define typedefs for read/write archives, and use the GLib
autocleanups for them.   Prep for updating libglnx to drop its
custom autocleanup macros.

Closes: #1042
Approved by: jlebon
src/libostree/ostree-libarchive-private.h
src/libostree/ostree-repo-libarchive.c
src/ostree/ot-builtin-export.c
tests/test-libarchive-import.c